package com.college.eduService.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.college.eduService.entity.EduCourse;
import com.college.eduService.entity.frontvo.CourseWebVo;
import com.college.eduService.entity.vo.CoursePublishVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    //连接查询获取课程发布信息
    public CoursePublishVo getCoursePublishVo(String courseId);

    //连接查询获取课程详细信息
    CourseWebVo getBaseCourseInfo(String courseId);
}